import request from '@/lib/request';

/**
 * 获取按项目计费列表
 * @tips CompetitionCategoryCharge
 * @tags [CompetitionCategoryCharge]
 * @param { object } aDataQuery
  */
export function api_GET_CompetitionCategoryCharge (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/competitionCategoryCharge',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 创建按项目计费
 * @tips CompetitionCategoryCharge
 * @tags [CompetitionCategoryCharge]
 * @param { object } aDataBody
  */
export function api_POST_CompetitionCategoryCharge (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/competitionCategoryCharge',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 更新费用
 * @tips CompetitionCategoryCharge
 * @tags [CompetitionCategoryCharge]
 * @param {string} id 费用ID
 * @param { object } aDataBody 参数
  */
export function api_PUT_CompetitionCategoryChargeId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/competitionCategoryCharge/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 修改费用设置类型
 * @tips CompetitionCategoryCharge
 * @tags [CompetitionCategoryCharge]
 * @param { object } aDataBody 参数
  */
export function api_PUT_CompetitionCategoryChargeCompetitionChargeType (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/competitionCategoryCharge/competitionChargeType`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 新建按项目计费其他费用
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param { object } aDataBody
  */
export function api_POST_CompetitionCategoryOtherCharge (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/competitionCategoryOtherCharge',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取费用列表
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param { object } aDataQuery
  */
export function api_GET_CompetitionCategoryOtherCharge (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/competitionCategoryOtherCharge',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 删除费用
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param {string} id 费用ID
  */
export function api_DELETE_CompetitionCategoryOtherChargeId (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/competitionCategoryOtherCharge/${id}`,
    method: 'delete'
  });
}
/**
 * 更新费用
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param {string} id 费用ID
 * @param { object } aDataBody 参数
  */
export function api_PUT_CompetitionCategoryOtherChargeId (id, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/competitionCategoryOtherCharge/${id}`,
    method: 'put',
    data: aDataBody
  });
}
/**
 * 依据Id获取费用详情
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param {string} id 费用ID
 * @param { object } aDataQuery 参数 [Api_GET_EventsManagementCompetitionChargeIdQO]
  */
export function api_GET_CompetitionCategoryOtherChargeId (id, aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/competitionCategoryOtherCharge/${id}`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取项目类别列表
 * @tips CompetitionCategoryOtherCharge
 * @tags [CompetitionCategoryOtherCharge]
 * @param { object } aDataQuery 参数 [Api_GET_EventsManagementCompetitionChargeIdQO]
  */
export function api_GET_managementCategory (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/category/`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取报名机构下的领队教练
 * @tips
 * @tags []
 * @param { string } aDataQuery
  */
export function api_GET_EventsManagementEntryDelegationCompetitionOfficialsCompetitionId (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/entry/delegationCompetitionOfficials`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 清理领队教练
 * @tips
 * @tags []
 * @param { object } aDataBody
  */
export function api_GET_EventsManagementEntryClearOfficials (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/entry/clearOfficials',
    method: 'post',
    data: aDataBody
  });
}
/**
 * 获取CMS-banner图片
 * @tips
 * @tags []
 * @param { object } aDataQuery
  */
export function api_GET_CMSAdvert (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_API_CMS_BASE,
    url: '/cms/Advert',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取当前任务信息
 * @tips PointTask
 * @tags [PointTask]
 * @param {string} competitionId
  */
export function api_GET_EventsManagementPointTaskInfoCompetitionId (competitionId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/pointTask/info/${competitionId}`,
    method: 'get'
  });
}
/**
 * 获取联赛的任务列表
 * @tips PointTask
 * @tags [PointTask]
 * @param { object } aDataQuery
  */
export function api_GET_EventsManagementPointTask (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/pointTask`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取联赛的任务明细
 * @tips PointTask
 * @tags [PointTask]
 * @param {string} taskGroupId
  */
export function api_GET_EventsManagementPointTaskDetailsTaskGroupId (taskGroupId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/pointTask/details/${taskGroupId}`,
    method: 'get'
  });
}
/**
 * 任务错误重试
 * @tips PointTask
 * @tags [PointTask]
 * @param {string} taskGroupId
  */
export function api_GET_EventsManagementPointTaskReStartTaskGroupId (taskGroupId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/pointTask/reStart/${taskGroupId}`,
    method: 'post'
  });
}
/**
 * 计算积分
 * @tips PointTask
 * @tags [PointTask]
 * @param {string} competitionId
  */
export function api_GET_EventsManagementPointTaskCalculatePointCompetitionId (competitionId) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/pointTask/calculatePoint/${competitionId}`,
    method: 'post'
  });
}
/**
 * 解绑账号个人资料
 * @tips
 * @tags []
 * @param {string} id 用户ID
  */
export function api_POST_EventsManagementRegisterIdUnbindRegisterIdcard (id) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/register/${id}/unbindRegisterIdcard`,
    method: 'post'
  });
}
/**
 * 个人资料绑定账号查询
 * @tips
 * @tags []
 * @param {string}
  */
export function api_POST_EventsManagementRegisterAccountRegisterInfo (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: `/api/app/events-management/register/accountRegisterInfo`,
    method: 'get',
    params: aDataQuery
  });
}
/**
 * 获取保险费用设置
 * @tips InsuranceChargeSetting
 * @tags [InsuranceChargeSetting]
  */
export function api_GET_EventsManagementInsuranceChargeSetting () {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/insuranceChargeSetting',
    method: 'get'
  });
}
/**
 * 添加/更新保险费用设置
 * @tips InsuranceChargeSetting
 * @tags [InsuranceChargeSetting]
  */
export function api_POST_EventsManagementInsuranceChargeSetting (aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_GAME_BASE,
    url: '/api/app/events-management/insuranceChargeSetting',
    method: 'post',
    data: aDataBody
  });
}
